﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;

namespace BskLeague.Models
{
    public class BskLeagueDB : DbContext
    {
        public DbSet<AnnouncedPlayer> AnnouncedPlayers { get; set; }
        public DbSet<AnnounceCommunicate> AnnounceCommunicates { get; set; }
        public DbSet<AnnounceCommunicateStatus> AnnounceCommunicateStatuses { get; set; }
        public DbSet<AnnounceCost> AnnounceCosts { get; set; }

        public DbSet<Player> Players { get; set; }
        public DbSet<Team> Teams { get; set; }
        public DbSet<Season> Seasons { get; set; }
        public DbSet<Match> Matchs { get; set; }

        public DbSet<News> Newses { get; set; }
        public DbSet<NewsCategory> NewsCategories { get; set; }
        public DbSet<NewsComment> NewsComments { get; set; }
        public DbSet<Notice> Notices { get; set; }
        public DbSet<Stadium> Stadiums { get; set; }
        public DbSet<Advert> Adverts { get; set; }

        public DbSet<SeasonTeamPlayer> SeasonTeamPlayers { get; set; }
        public DbSet<Licence> Licences { get; set; }

        public DbSet<SeasonStatus> SeasonStatuses { get; set; }

        public DbSet<Communicate> Communicates { get; set; }

        public DbSet<Point> Points { get; set; }
        public DbSet<Faul> Fauls { get; set; }
        public DbSet<Minute> Minutes { get; set; }

    }
}